package com.example.score.entity.vo;

import java.util.List;

public class AcademicLevelResult {


    /**
     * code : 200
     * message : 成功
     * data : [{"type":1,"academiclevels":[{"name":"满分","startScore":100,"endScore":100},{"name":"优秀","startScore":80,"endScore":100},{"name":"良好","startScore":70,"endScore":80},{"name":"及格","startScore":60,"endScore":70},{"name":"低分","startScore":0,"endScore":60}]},{"type":2,"academiclevels":[{"name":null,"startScore":100,"endScore":100},{"name":null,"startScore":80,"endScore":100},{"name":null,"startScore":70,"endScore":80},{"name":null,"startScore":60,"endScore":70},{"name":null,"startScore":0,"endScore":60}]}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * type : 1
         * academiclevels : [{"name":"满分","startScore":100,"endScore":100},{"name":"优秀","startScore":80,"endScore":100},{"name":"良好","startScore":70,"endScore":80},{"name":"及格","startScore":60,"endScore":70},{"name":"低分","startScore":0,"endScore":60}]
         */

        private int type;
        private List<AcademiclevelsBean> academiclevels;

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public List<AcademiclevelsBean> getAcademiclevels() {
            return academiclevels;
        }

        public void setAcademiclevels(List<AcademiclevelsBean> academiclevels) {
            this.academiclevels = academiclevels;
        }

        public static class AcademiclevelsBean {
            /**
             * name : 满分
             * startScore : 100
             * endScore : 100
             */

            private String name;
            private int startScore;
            private int endScore;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getStartScore() {
                return startScore;
            }

            public void setStartScore(int startScore) {
                this.startScore = startScore;
            }

            public int getEndScore() {
                return endScore;
            }

            public void setEndScore(int endScore) {
                this.endScore = endScore;
            }
        }
    }
}
